/* 修改后的CSS样式 */
.container {
  background-color: #f5f5f5;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

/* 顶部导航栏 - 保持不变 */
.top {
  position: fixed;
  top: 0;
  width: 100%;
  height: 44px;
  background-color: #fff;
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid #eaeaea;
  z-index: 100;
}

.top img {
  width: 24px;
  height: 24px;
  margin-left: 12px;
}

.top b {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

/* 表单内容区 - 重要修改 */
.content {
  margin-top: 44px;
  padding: 0;
  background-color: #fff;
}

.contentItem {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 15px;
  position: relative;
}

.label {
  width: 90px;
  font-size: 15px;
  color: #333;
}

.input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #333;
  text-align: left;
  padding: 15px 0;
  margin-left: 10px;
}

.input::placeholder {
  color: #999;
  font-size: 14px;
}

.divider {
  height: 0.5px;
  background-color: #f0f0f0;
  margin-left: 15px;
}

/* 默认地址区块 - 重要修改 */
.defaultAddressItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  padding: 0 15px;
  margin-top: 10px;
  border-top: 10px solid #f5f5f5;
}

/* 开关样式 - 保持不变 */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 32px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 16px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 28px;
  width: 28px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
  background-color: #ff2442;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* 保存按钮 - 保持不变 */
.saveButton {
  position: fixed;
  bottom: 30px;
  left: 15px;
  right: 15px;
  height: 44px;
  background-color: #ff0000;
  color: white;
  text-align: center;
  line-height: 44px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(255, 36, 66, 0.3);
}

/* 提示框 - 保持不变 */
.hintContainer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.hint {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
}